package com.hf.buildtb.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * BiDepartmentClass entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="BI_DepartmentClass"
    ,schema="dbo"
    ,catalog="BIDB"
)

public class BiDepartmentClass  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 2489017754945371900L;
	private String classId;
     private String className;
     private Boolean isValid;
     private String memo;


    // Constructors

    /** default constructor */
    public BiDepartmentClass() {
    }

	/** minimal constructor */
    public BiDepartmentClass(String classId, String className, Boolean isValid) {
        this.classId = classId;
        this.className = className;
        this.isValid = isValid;
    }
    
    /** full constructor */
    public BiDepartmentClass(String classId, String className, Boolean isValid, String memo) {
        this.classId = classId;
        this.className = className;
        this.isValid = isValid;
        this.memo = memo;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="classId", unique=true, nullable=false, length=4)

    public String getClassId() {
        return this.classId;
    }
    
    public void setClassId(String classId) {
        this.classId = classId;
    }
    
    @Column(name="className", nullable=false, length=64)

    public String getClassName() {
        return this.className;
    }
    
    public void setClassName(String className) {
        this.className = className;
    }
    
    @Column(name="isValid", nullable=false)

    public Boolean getIsValid() {
        return this.isValid;
    }
    
    public void setIsValid(Boolean isValid) {
        this.isValid = isValid==null?false:isValid;
    }
    
    @Column(name="memo", length=24)

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
   








}